﻿@model BaseballGame.Models.Player

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Player</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.player_name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.player_name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.position.position)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.position.position)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.speed)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.speed)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.power)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.power)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.hitting_chance)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.hitting_chance)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.at_bat)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.at_bat)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.runs)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.runs)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.hits)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.hits)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.runs_batted_in)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.runs_batted_in)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.home_runs)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.home_runs)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.balls_on_balls)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.balls_on_balls)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.strike_outs)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.strike_outs)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.stolen_bases)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.stolen_bases)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.left_on_base)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.left_on_base)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.fielding)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.fielding)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.batting_avg)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.batting_avg)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.pitching)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.pitching)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.innings_pitched)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.innings_pitched)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.runs_allowed)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.runs_allowed)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.earned_runs_allowed)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.earned_runs_allowed)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.home_runs_allowed)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.home_runs_allowed)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.walks_hit_by_ip)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.walks_hit_by_ip)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.earned_runs_average)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.earned_runs_average)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
